<script type="text/javascript" charset="utf-8" >

$(function(){	

	// Get player url
	var player_url = "<?=base_url().$this->config->item('fd_flash_url').SWF_FLOW_PLAYER;?>";
	
	// Load flowplayer, NOTE : client must be install flash
	flowplayer("player", player_url);
	
		// Add event to link back close fancy box
	$('.link_back >a').click(function(event){
		event.preventDefault();
		
		// Using close method to close fancybox
		$.fancybox.close();	
		
	});
	
});

</script>


<h4><?=$video_title;?></h4>



<!-- this A tag is where your Flowplayer will be placed. it can be anywhere -->
<a id="player" href="<?=base_url().$this->config->item('fd_product_video_url').$video_url;?>"  style="display:block;width:520px;height:330px" ></a> 
		
<!-- 
	after this line is purely informational stuff. 
	does not affect on Flowplayer functionality 
-->

<br/>
<br/>
<div class="link_back"><a href="#">&laquo; <?=$title_link_back_to;?></a></div>

